﻿using RepositoryEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepositoryBll
{
    /// <summary>
    /// 角色信息业务访问层接口
    /// </summary>
    public interface IRoleInfoBll
    {
        bool AddRoleInfo(RoleInfo roleInfo);

        /// <summary>
        /// 删除角色
        /// </summary>
        /// <param name="roleInfoId">角色id</param>
        /// <returns></returns>
        bool DeleteRoleInfo(string roleInfoId);

        bool UpdateRoleInfo(RoleInfo roleInfo);

        RoleInfo GetRoleInfo(string roleInfoId);
    }
}
